avcodec/alac: don't fail if channels aren't set during init() when extradata is valid
authorJames Almer <jamrial@gmail.com>
Fri, 29 Jul 2022 21:05:51 +0000 (18:05 -0300)
committerSebastian Ramacher <sramacher@debian.org>
Tue, 2 Aug 2022 18:27:24 +0000 (19:27 +0100)
commitc8bb73b08dc310ff0ded533a10f6d59c632e0410
tree42b10e3d1f14209a123686d2fb9ee1e69ebfdb46
parent79d7c895cd2b16eaa2a3d4a73c6935b8a9d65ffe
avcodec/alac: don't fail if channels aren't set during init() when extradata is valid

The decoder is meant to use it as a fallback if the value in extradata is
invalid.

Regression since d199099be.

Signed-off-by: James Almer <jamrial@gmail.com>
Gbp-Pq: Name 0003-avcodec-alac-don-t-fail-if-channels-aren-t-set-durin.patch
libavcodec/alac.c